package com.gengzp.common.model.log.entity;

import com.fasterxml.jackson.annotation.JsonRawValue;
import com.gengzp.common.model.generic.entity.GenericEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;

/**
 * @ClassName SysOperationLog
 * @Description 系统操作日志实体类
 * @Author gengzp
 * @Date 2025/9/29 11:11
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysOperationLog extends GenericEntity {

    @Serial
    private static final long serialVersionUID = -9066618782032342306L;

    /**
     * 链路追踪id
     */
    private String traceId;

    /**
     * 请求接口路径资源标识
     */
    private String uri;

    /**
     * 请求入参
     */
    private String param;

    /**
     * 请求开始时间
     */
    private Date startTime;

    /**
     * 请求耗时
     */
    private Long consumeTime;

    /**
     * 请求描述
     */
    private String requestDescription;

    /**
     * 操作人id
     */
    private Long operatorId;

}
